package com.example.canteen.domain;
public class User {
    private long Userid;
    private String Username;
    private String Role;

    public long getUserid() {
        return Userid;
    }

    public void setUserid(long userid) {
        Userid = userid;
    }

    public String getUsername() {
        return Username;
    }

    public void setUsername(String username) {
        Username = username;
    }

    public String getRole() {
        return Role;
    }

    public void setRole(String role) {
        Role = role;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public String getLastLoginDate() {
        return LastLoginDate;
    }

    public void setLastLoginDate(String lastLoginDate) {
        LastLoginDate = lastLoginDate;
    }

    private String Email;
    private String Password;
    private String LastLoginDate;

    public User(long userid, String username, String role, String email, String password, String lastLoginDate) {
        Userid = userid;
        Username = username;
        Role = role;
        Email = email;
        Password = password;
        LastLoginDate = lastLoginDate;
    }
    @Override
    public String toString() {
        return "User{" +
                "Userid=" + Userid +
                ", Username='" + Username + '\'' +
                ", Role='" + Role + '\'' +
                ", Email='" + Email + '\'' +
                ", Password='" + Password + '\'' +
                ", LastLoginDate='" + LastLoginDate + '\'' + '}';
    }
}